Integrand size = 12, antiderivative size = 90 \[ \int x \sec ^7\left (a+b x^2\right ) \, dx=\frac {5 \text {arctanh}\left (\sin \left (a+b x^2\right )\right )}{32 b}+\frac {5 \sec \left (a+b x^2\right ) \tan \left (a+b x^2\right )}{32 b}+\frac {5 \sec ^3\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{48 b}+\frac {\sec ^5\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{12 b} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 90, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4289, 3853, 3855} \[ \int x \sec ^7\left (a+b x^2\right ) \, dx=\frac {5 \text {arctanh}\left (\sin \left (a+b x^2\right )\right )}{32 b}+\frac {\tan \left (a+b x^2\right ) \sec ^5\left (a+b x^2\right )}{12 b}+\frac {5 \tan \left (a+b x^2\right ) \sec ^3\left (a+b x^2\right )}{48 b}+\frac {5 \tan \left (a+b x^2\right ) \sec \left (a+b x^2\right )}{32 b} \]
[In]
[Out]
Rule 3853
Rule 3855
Rule 4289
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \text {Subst}\left (\int \sec ^7(a+b x) \, dx,x,x^2\right ) \\ & = \frac {\sec ^5\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{12 b}+\frac {5}{12} \text {Subst}\left (\int \sec ^5(a+b x) \, dx,x,x^2\right ) \\ & = \frac {5 \sec ^3\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{48 b}+\frac {\sec ^5\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{12 b}+\frac {5}{16} \text {Subst}\left (\int \sec ^3(a+b x) \, dx,x,x^2\right ) \\ & = \frac {5 \sec \left (a+b x^2\right ) \tan \left (a+b x^2\right )}{32 b}+\frac {5 \sec ^3\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{48 b}+\frac {\sec ^5\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{12 b}+\frac {5}{32} \text {Subst}\left (\int \sec (a+b x) \, dx,x,x^2\right ) \\ & = \frac {5 \text {arctanh}\left (\sin \left (a+b x^2\right )\right )}{32 b}+\frac {5 \sec \left (a+b x^2\right ) \tan \left (a+b x^2\right )}{32 b}+\frac {5 \sec ^3\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{48 b}+\frac {\sec ^5\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{12 b} \\ \end{align*}
Time = 0.08 (sec) , antiderivative size = 90, normalized size of antiderivative = 1.00 \[ \int x \sec ^7\left (a+b x^2\right ) \, dx=\frac {5 \text {arctanh}\left (\sin \left (a+b x^2\right )\right )}{32 b}+\frac {5 \sec \left (a+b x^2\right ) \tan \left (a+b x^2\right )}{32 b}+\frac {5 \sec ^3\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{48 b}+\frac {\sec ^5\left (a+b x^2\right ) \tan \left (a+b x^2\right )}{12 b} \]
[In]
[Out]
Time = 0.53 (sec) , antiderivative size = 72, normalized size of antiderivative = 0.80
method | result | size |
derivativedivides | \(\frac {-\left (-\frac {\sec \left (x^{2} b +a \right )^{5}}{6}-\frac {5 \sec \left (x^{2} b +a \right )^{3}}{24}-\frac {5 \sec \left (x^{2} b +a \right )}{16}\right ) \tan \left (x^{2} b +a \right )+\frac {5 \ln \left (\sec \left (x^{2} b +a \right )+\tan \left (x^{2} b +a \right )\right )}{16}}{2 b}\) | \(72\) |
default | \(\frac {-\left (-\frac {\sec \left (x^{2} b +a \right )^{5}}{6}-\frac {5 \sec \left (x^{2} b +a \right )^{3}}{24}-\frac {5 \sec \left (x^{2} b +a \right )}{16}\right ) \tan \left (x^{2} b +a \right )+\frac {5 \ln \left (\sec \left (x^{2} b +a \right )+\tan \left (x^{2} b +a \right )\right )}{16}}{2 b}\) | \(72\) |
risch | \(-\frac {i \left (15 \,{\mathrm e}^{11 i \left (x^{2} b +a \right )}+85 \,{\mathrm e}^{9 i \left (x^{2} b +a \right )}+198 \,{\mathrm e}^{7 i \left (x^{2} b +a \right )}-198 \,{\mathrm e}^{5 i \left (x^{2} b +a \right )}-85 \,{\mathrm e}^{3 i \left (x^{2} b +a \right )}-15 \,{\mathrm e}^{i \left (x^{2} b +a \right )}\right )}{48 b \left ({\mathrm e}^{2 i \left (x^{2} b +a \right )}+1\right )^{6}}-\frac {5 \ln \left ({\mathrm e}^{i \left (x^{2} b +a \right )}-i\right )}{32 b}+\frac {5 \ln \left ({\mathrm e}^{i \left (x^{2} b +a \right )}+i\right )}{32 b}\) | \(142\) |
parallelrisch | \(\frac {\left (-225 \cos \left (2 x^{2} b +2 a \right )-90 \cos \left (4 x^{2} b +4 a \right )-15 \cos \left (6 x^{2} b +6 a \right )-150\right ) \ln \left (\tan \left (\frac {a}{2}+\frac {x^{2} b}{2}\right )-1\right )+\left (225 \cos \left (2 x^{2} b +2 a \right )+90 \cos \left (4 x^{2} b +4 a \right )+15 \cos \left (6 x^{2} b +6 a \right )+150\right ) \ln \left (\tan \left (\frac {a}{2}+\frac {x^{2} b}{2}\right )+1\right )+396 \sin \left (x^{2} b +a \right )+170 \sin \left (3 x^{2} b +3 a \right )+30 \sin \left (5 x^{2} b +5 a \right )}{96 b \left (10+\cos \left (6 x^{2} b +6 a \right )+6 \cos \left (4 x^{2} b +4 a \right )+15 \cos \left (2 x^{2} b +2 a \right )\right )}\) | \(196\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 100, normalized size of antiderivative = 1.11 \[ \int x \sec ^7\left (a+b x^2\right ) \, dx=\frac {15 \, \cos \left (b x^{2} + a\right )^{6} \log \left (\sin \left (b x^{2} + a\right ) + 1\right ) - 15 \, \cos \left (b x^{2} + a\right )^{6} \log \left (-\sin \left (b x^{2} + a\right ) + 1\right ) + 2 \, {\left (15 \, \cos \left (b x^{2} + a\right )^{4} + 10 \, \cos \left (b x^{2} + a\right )^{2} + 8\right )} \sin \left (b x^{2} + a\right )}{192 \, b \cos \left (b x^{2} + a\right )^{6}} \]
[In]
[Out]
\[ \int x \sec ^7\left (a+b x^2\right ) \, dx=\int x \sec ^{7}{\left (a + b x^{2} \right )}\, dx \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 2838 vs. \(2 (82) = 164\).
Time = 0.45 (sec) , antiderivative size = 2838, normalized size of antiderivative = 31.53 \[ \int x \sec ^7\left (a+b x^2\right ) \, dx=\text {Too large to display} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 85, normalized size of antiderivative = 0.94 \[ \int x \sec ^7\left (a+b x^2\right ) \, dx=-\frac {\frac {2 \, {\left (15 \, \sin \left (b x^{2} + a\right )^{5} - 40 \, \sin \left (b x^{2} + a\right )^{3} + 33 \, \sin \left (b x^{2} + a\right )\right )}}{{\left (\sin \left (b x^{2} + a\right )^{2} - 1\right )}^{3}} - 15 \, \log \left (\sin \left (b x^{2} + a\right ) + 1\right ) + 15 \, \log \left (-\sin \left (b x^{2} + a\right ) + 1\right )}{192 \, b} \]
[In]
[Out]
Time = 25.42 (sec) , antiderivative size = 496, normalized size of antiderivative = 5.51 \[ \int x \sec ^7\left (a+b x^2\right ) \, dx=\frac {5\,\ln \left (-\frac {x\,5{}\mathrm {i}}{8}-\frac {5\,x\,{\mathrm {e}}^{a\,1{}\mathrm {i}}\,{\mathrm {e}}^{b\,x^2\,1{}\mathrm {i}}}{8}\right )}{32\,b}-\frac {5\,\ln \left (\frac {x\,5{}\mathrm {i}}{8}-\frac {5\,x\,{\mathrm {e}}^{a\,1{}\mathrm {i}}\,{\mathrm {e}}^{b\,x^2\,1{}\mathrm {i}}}{8}\right )}{32\,b}+\frac {{\mathrm {e}}^{3{}\mathrm {i}\,b\,x^2+a\,3{}\mathrm {i}}\,8{}\mathrm {i}}{3\,b\,\left (5\,{\mathrm {e}}^{2{}\mathrm {i}\,b\,x^2+a\,2{}\mathrm {i}}+10\,{\mathrm {e}}^{4{}\mathrm {i}\,b\,x^2+a\,4{}\mathrm {i}}+10\,{\mathrm {e}}^{6{}\mathrm {i}\,b\,x^2+a\,6{}\mathrm {i}}+5\,{\mathrm {e}}^{8{}\mathrm {i}\,b\,x^2+a\,8{}\mathrm {i}}+{\mathrm {e}}^{10{}\mathrm {i}\,b\,x^2+a\,10{}\mathrm {i}}+1\right )}-\frac {{\mathrm {e}}^{1{}\mathrm {i}\,b\,x^2+a\,1{}\mathrm {i}}\,1{}\mathrm {i}}{6\,b\,\left (3\,{\mathrm {e}}^{2{}\mathrm {i}\,b\,x^2+a\,2{}\mathrm {i}}+3\,{\mathrm {e}}^{4{}\mathrm {i}\,b\,x^2+a\,4{}\mathrm {i}}+{\mathrm {e}}^{6{}\mathrm {i}\,b\,x^2+a\,6{}\mathrm {i}}+1\right )}-\frac {{\mathrm {e}}^{1{}\mathrm {i}\,b\,x^2+a\,1{}\mathrm {i}}\,5{}\mathrm {i}}{16\,b\,\left ({\mathrm {e}}^{2{}\mathrm {i}\,b\,x^2+a\,2{}\mathrm {i}}+1\right )}+\frac {{\mathrm {e}}^{5{}\mathrm {i}\,b\,x^2+a\,5{}\mathrm {i}}\,16{}\mathrm {i}}{3\,b\,\left (6\,{\mathrm {e}}^{2{}\mathrm {i}\,b\,x^2+a\,2{}\mathrm {i}}+15\,{\mathrm {e}}^{4{}\mathrm {i}\,b\,x^2+a\,4{}\mathrm {i}}+20\,{\mathrm {e}}^{6{}\mathrm {i}\,b\,x^2+a\,6{}\mathrm {i}}+15\,{\mathrm {e}}^{8{}\mathrm {i}\,b\,x^2+a\,8{}\mathrm {i}}+6\,{\mathrm {e}}^{10{}\mathrm {i}\,b\,x^2+a\,10{}\mathrm {i}}+{\mathrm {e}}^{12{}\mathrm {i}\,b\,x^2+a\,12{}\mathrm {i}}+1\right )}+\frac {{\mathrm {e}}^{1{}\mathrm {i}\,b\,x^2+a\,1{}\mathrm {i}}\,1{}\mathrm {i}}{b\,\left (4\,{\mathrm {e}}^{2{}\mathrm {i}\,b\,x^2+a\,2{}\mathrm {i}}+6\,{\mathrm {e}}^{4{}\mathrm {i}\,b\,x^2+a\,4{}\mathrm {i}}+4\,{\mathrm {e}}^{6{}\mathrm {i}\,b\,x^2+a\,6{}\mathrm {i}}+{\mathrm {e}}^{8{}\mathrm {i}\,b\,x^2+a\,8{}\mathrm {i}}+1\right )}-\frac {{\mathrm {e}}^{1{}\mathrm {i}\,b\,x^2+a\,1{}\mathrm {i}}\,5{}\mathrm {i}}{24\,b\,\left (2\,{\mathrm {e}}^{2{}\mathrm {i}\,b\,x^2+a\,2{}\mathrm {i}}+{\mathrm {e}}^{4{}\mathrm {i}\,b\,x^2+a\,4{}\mathrm {i}}+1\right )} \]
[In]
[Out]